<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>{$_C['site_name']}</title>
	<meta name="description" content="{$_C['site_des']}">
	<meta name="keywords" content="{$_C['site_keyword']}">
	<link href="{$_C.hy_path}css/bootstrap.min.css" rel="stylesheet">
	<link href="{$_C.hy_path}css/common.css" rel="stylesheet">
	<link href="{$_C.hy_path}css/main.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/topHeader.css">

</head>
<body>
	<!-- start header -->
		{include file='../Common/header.html'}
	<!-- end header -->
	<div class="container-fluid">
		<div class="col-md-3">
			<ul class="sidebar">
				<img src="{$_C.hy_path}images/sidebar5.jpg" class="sidebar-banner">
				{func model=index action=cat_child item=cat1 code="{$_GET['code']}"}
				{foreach from=$cat1.child item=cat}
								<li><a href="{$cat.url}">{$cat.name}</a></li>
								{/foreach}
			</ul>
		</div>
		<div class="col-md-8 single-content">
			<h3>{$cat.name}</h3>
			<div class="col-md-5">
				{$art.content}
			</div>
			{if $art.form_id}
			<div class="col-md-6 col-md-offset-1">
				<form role="form" method="post">
 					<div class="form-group">
 					  <label for="contact-name">姓名</label>
 					  <input type="text" name="name" class="form-control" id="contact-name">
 					</div>
 					<div class="form-group">
 					  <label for="contact-mail">邮箱</label>
 					  <input type="text" name="email" class="form-control" id="contact-mail">
 					</div>
 					<div class="form-group">
 					  <label for="contact-num">电话号码</label>
 					  <input type="text" name="phone" class="form-control" id="contact-num">
 					</div>
 					<div class="form-group">
 					  <label for="contact-num">内容</label>
 					  <textarea name="content" class="form-control" id="contact-num"></textarea >
 					</div>
 					<button type="submit" class="btn btn-default hy-submit">提交</button>
				</form>
			</div>
			{/if}
		</div>
	</div>

	<!-- start footer  -->
	{include file='../Common/footer.html'}
    <!-- end footer -->
	<script src="{$_C.hy_path}js/jquery-1.11.2.min.js"></script>
	<script src="{$_C.hy_path}js/bootstrap.min.js"></script>
	<script src="{$_C.hy_path}js/hammer.min.js"></script>
	<script src="{$_C.hy_path}js/jquery.hammer.js"></script>
	<script src="{$_C.hy_path}js/main.js"></script>
	<script src="{$_C.hy_path}js/topHeader.js"></script>

</body>
</html>